package com.jingdianjichi.auth.application.convert;
import com.jingdianjichi.auth.application.dto.AuthUserDTO;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthUser;
import lombok.Data;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthUserConvert {
    AuthUserConvert INSTANCE = Mappers.getMapper(AuthUserConvert.class);
    AuthUserBO authUserDtoToAuthUserBo(AuthUserDTO authUserDTO);
    AuthUserDTO authUserBoToAuthUserDto(AuthUserBO authUserBO);
}
